<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <link href="../css/style_log.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="../js/jquery.min.js"></script>
</head>
<%String path = request.getContextPath();%>
<body>
<div class="aui-register-popup">
    <div class="aui-register-box">

        <div class="aui-register-logo">

        </div>
        <div class="aui-register-form" id="verifyCheck">
            <div class="register-wrap" id="register-wrap">
                <div class="register" id="register">

                    <!--注册-->
                    <form action="<%=path%>/resign" method="post">
                        <div class="register-con" id="rc">
                            <div class="aui-register-form-item">
                                <input type="text" name="username" maxlength="20" placeholder="账户名"
                                       class="txt03 f-r3 required" tabindex="3"
                                       data-valid="isNonEmpty||between:3-20||isUname"
                                       data-error="><i class='icon-tips'></i>您还没有输入账户名||<i class='icon-tips'></i>用户名长度3-20位||<i class='icon-tips'></i>只能输入字母、数字、且以中文或字母开头"
                                       id="adminNo">
                                <label class="focus valid"></label>
                            </div>
                            <div class="aui-register-form-item">
                                <input type="password" name="password" placeholder="密码" id="password" maxlength="20"
                                       class="txt04 f-r3 required" tabindex="4" style="ime-mode:disabled;"
                                       onpaste="return  false" autocomplete="off"
                                       data-valid="isNonEmpty||between:6-20||level:2"
                                       data-error="><i class='icon-tips'></i>密码太短，最少6位||<i class='icon-tips'></i>密码长度6-20位||<i class='icon-tips'></i>密码太简单，有被盗风险，建议字母+数字的组合">
                                <label class="focus valid"></label>

                            </div>
                            <div class="aui-register-form-item">

                                <input id="aui-btn-reg" class="aui-btn-reg" placeholder="" readonly="readonly" value="注册">
                            </div>
                        </div>
                    </form>
                </div>
                <div class="aui-register-bottom">
                    <a>关于我们</a>
                    <a href="#">联系客服</a>
                    <a href="#">帮助中心</a>
                    <div class="clear"></div>
                </div>
            </div>
        </div>
    </div>
</div>


<script type="text/javascript" src="../js/login.js"></script>
<script type="text/javascript">
    $(function () {
        $("#aui-btn-reg").click(function () {
            if (!verifyCheck._click()) return;
            //第一个表单进行提交
            document.forms[0].submit();
        });
    });
</script>
</body>
</html>
